/**
 *
 */
package domain.items;

import interfaces.GUIVisited;
import interfaces.GUIVisitor;

import java.util.Vector;

/**
 * @author doralt
 *
 */
public class ThreadPacket extends Item implements GUIVisited {

	private Vector<PostPacket> _posts;


	public ThreadPacket() {
		//super(null);
		this._posts = new Vector<PostPacket>();
		this._type = Item.PACKET;
	}

	public Vector<PostPacket> getPosts() {
		return this._posts;
	}
	
	public void setPosts(Vector<PostPacket> vec) {
		this._posts = vec;
	}

	@Override
	public void accept(GUIVisitor visitor) {
		visitor.createItemsView(this);
	}



}
